import Home from '../pages/Home/index'
import List from '../pages/List/index'
import Detail from '../pages/detail/index'
import Login from '../pages/login/index'
import Order from '../pages/Order/index'

import {createBrowserRouter} from 'react-router-dom'
 const router = createBrowserRouter([
  {
    path: '/',
    element: <Home />
  },
  {
    path: '/list',
    element: <List />
  },
  {
    path: '/detail',
    element: <Detail />
  },{
    path: '/login',
    element: <Login />
  },{
    path: '/order',
    element: <Order />
  }
])
export default router
